//
//  ClassifyTimedoc.m
//  __PRODUCTNAME__
//
//  Created by dllo on 16/09/10
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

#import "ClassifyTimedoc.h"
#import "ClassifyToday.h"
#import "ClassifySunday.h"
#import "ClassifyWeekend.h"
#import "ClassifySaturday.h"
#import "ClassifyTomorrow.h"
#import "ClassifyLastmonth.h"


@implementation ClassifyTimedoc
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"Today"]) {
        _Today = [ClassifyToday modelWithDic:value];
    } else if ([key isEqualToString:@"Tomorrow"]) {
        _Tomorrow = [ClassifyTomorrow modelWithDic:value];
    } else if ([key isEqualToString:@"Saturday"]) {
        _Saturday = [ClassifySaturday modelWithDic:value];
    } else if ([key isEqualToString:@"Sunday"]) {
        _Sunday = [ClassifySunday modelWithDic:value];
    } else if ([key isEqualToString:@"Weekend"]) {
        _Weekend = [ClassifyWeekend modelWithDic:value];
    } else if ([key isEqualToString:@"LastMonth"]) {
        _LastMonth = [ClassifyLastmonth modelWithDic:value];
    }




}
@end
